Fixed unique check's inability to handle variable record lengths.