Timing of SQL queries fixed by switching to the new Event API from SQL Alchemy introduced in version 0.7. Usage of ConnectionProxy is deprecated from that version, and using it resulted in invalid measures.
Merge branch 'pr/137'