Fixed a logic derp