Fix issue where db timings were not being patch properly for django 1.6 and DEBUG=False