Jumping fixes

Fixed some stuff which the jump condition check.