Tweaked cylc-list logic.
Merge pull request #349 from arjclark/cylc-list-fix

Tweaked cylc-list logic.