Fixed querying for days other than 28-10-2014