Fixes bad inflate block regression at 7df5f47f6c42d
Merge pull request #1177 from yurydelendik/bad-inflate

Fixes bad inflate block regression at 7df5f47f6c42d