Correctly report database query execution times. Closes symphonycms/symphony-2#1833