Added beginning of timer for query.