Removing extra elif left by mistake