Weird logic issue...