Fixing dumbass boolean logic