Fix the 'null' issue in the default equality