Edit TryParseFact() method.