Fixed an issue where sql wasn't giving a callback value.