[ATM][Search] Fix crash after trying to search