- added the empty search param checking system