Check paydays only when payday is not running.
Merge pull request #1965 from gittip/fix-paydays-check

Check paydays only when payday is not running.