ISSUE-4132: Fixes redundant query in browse.inc.php