Fix boolean parameter issue when creating assignments.