Check paydays only when payday is not running.

Fixes https://app.getsentry.com/gittip/gittip/group/13958699/. The queries in the check work only when all paydays are finished.