Fixed a bug where the Bytecode constructor would hang forever in case an exception was thrown

The following template would hang the constructor forever

{if true == 1}true{/if}

Probably the case for every invalid literal comparison.