Fix a searchbox bug

BUG Description:
The searchbox shows undefined when query is not defined in URL