Fix eval_literal_section to also work with booleans