Allowing each record to be adapted before an equality comparison