fixed an issue with the closing date search on browse page; cleaned up the logic for constructing search fields