Recommited with the actual Query after patch
Changed dbInterface hook to match actual function.