Fixed error in jump logic;