CORE: fix instance load sql using wrong handle
Merge branch 'master' of https://github.com/DarkstarProject/darkstar