Corrected GetBoolean return value so it can be used with logic statements