:nail_care:
Revert "Use where interval instead of using SQL"

This reverts commit d364ae94a1d0c5d5808640edf369744d08ca4775.