sh: Use correct mask when comparing PMB DATA array values