Make fix for #184 actually produce valid bytecode

Signed-off-by: Ross Allan <rallanpcl@gmail.com>