fix ? for Catalog.equals()

! checking should be done first with instanceof first, or a similar
mechanism (getClass...) !