Fix SQL filtering
Fix SQL filtering

jonmifsud/datetime,alexbirukov/datetime,jonmifsud/datetime,alexbirukov/datetime,genome-vendor/datetime,domsammut/datetime,genome-vendor/datetime,genome-vendor/datetime,alexbirukov/datetime,domsammut/datetime