Fixed looking for time in querystring instead of timestamp