fix panda engine settings: Checkboxes were always unchecked because of bad condition in template