Update compressed data check in response to code review