Actually, I think the problem is here - that should be `<=`. Can you remove the other changes, update the SQL to use `<=` and fix the test then I'll merge it, thanks!