There was a stretch of time between when specific mastering for CDs started and before the loudness war kicked in. Plenty of time for good recordings to happen.