don't compare attribute uid, that is taken from the concrete record and not the abstract one [#2134]