Dumb logic error.