We should check if we are actually branching back to loop header. Fixes some logic when continue_block == loop_header.