Court of appeals upholds ruling in La Vergne discrimination case