Fixed logic for equals()