Fixes missing compressed object detection
Merge pull request #3375 from yurydelendik/bug867484

Fixes missing compressed object detection