Fix condition in menu