An appeals court found a district court erred in granting summary judgment to Union Home Mortgage in an age-discrimination lawsuit.