Updates to how searches are proccessed to fix page not found bug