Advanced search display edit, fixing bug found with the new JS testing!