Use OR of respective block flags for masks
Merge pull request #4820

910526d Use OR of respective block flags for masks (Pieter Wuille)