HHH-8465 corrected check in EnversListenerDuplicationStrategy