[BUGFIX] Fix wrong query in DataHandlerHook