Ensure that we exit on 0 if a command search was successful.