Remove extraneous else that is causing a warning