Fix errors in command block commands crashing the server.