Fixing stupid logic.