Try swapping the commands around, or adding a sleep command between them.

Is there anything else you have done recently that would break it?

Peter