[EXT-116] restore block mappings

Restored block mappings for the duplicate and missing data conditions.
Cleaned up some style violations.