[EXT-116] Restore block mappings

Restored block mappings for the duplicate and missing data conditions.
Cleaned up some style violations.
Merge pull request #3 from byron-janrain/master

[EXT-116] restore block mappings