equality check for internal records collection