Fix sorted facts.yaml, manage TrueClass and FalseClass