I used my HSA to pay medical expenses for non-dependent adult children covered by my insurance plan. Is that a non-qualified expense?

in 2017 both my adult children were covered by my health insurance plan as they were under 26. However, when I filed my 2017 taxes, I could not claim them as dependents. Does that make those expenses I used the HSA for unqualified? If so, can I repay my HSA provider and avoid the 20% penalty?