do not show error if search result is empty (closes #1260)