Fix getBlock to return default block if out-of-bounds