small fix to redirection in bento_queries when not loaded on lib domain