Fix menu problem after search