Fixed bug which caused certain DB entries to be recieved when the SQL time stamp was before the current minute/second mark