Fixed get_block in the python bindings to always work