Fix schema operator== comparing self with self and always returning true.