Crash fix on Search Submit