Bugfix to add search when querying document full directly from url