[#47961633] Fixed equals methods for nullpointer/classcast