Fixed repeatedly checking the same DN against the oldDN recorded in OMERO