Fix a bug for empty block list
Merge pull request #4 from YosukeM/bugfix

Fix a bug for empty block list