Enable search only if search string entered