Fixed two integer cycling bugs.

Ben - a small fix for cylc#1134.