Fix bad logic because it's bad