Bug fix for search view collapse icon disappearing.

Fix for search view collapse icon disappearing when search condition is too long