Fixes #147 INVALID_BLOCKTYPE on get blocks