Fixing boolean comparison, adding create_symbol_table optimizer [ci skip]