Fixed cleanup date restriction

SQL before: INTERVAL '.1.' DAY   (MySQL converted this to INTERVAL 0 DAY)
SQL after: INTERVAL 1 DAY
Merge pull request #159 from Daxx909/patch-1

Fixed cleanup date restriction