Fix for equals()