Fix syntax to correctly pass the status of the autopass checkbox