Fix block comparison.
Merge pull request #24 from bboe/block_compare

Fix block comparison.