Minor logic issue - fix dealing with 30 day checks..
Minor logic issue - fix dealing with 30 day checks..

Makes it less likely that we will miss data (still possible) and also
added an absolute max period that should be used for initial populations
of ticketing systems.

Civcraft/modmail_ticketmanager,Pentom/modmail_ticketmanager