Fix potential crash looking up block_num.
Merge pull request #1587 from unknownbrackets/jit-minor

Fix potential crash looking up block_num