Technically speaking your correct,but we wont be able to do anything about that since we don't know the coefficient of friction.So we ignore it.
If not,we should also consider loss of energy due to viscous drag of air,right?
since we dont have pertinent data about this,we ignore it all.