Fixed error global boolean error
	Global booleans are not supported by Jinja.
A global boolean was not needed, a scoped boolean is
more appropriate.