Fixed dependency

Looks like we broke some dependencies on sqlesc() when we moved everything around for the security update