In "Biblical Hebrew Lexicography: טף 'Children, Dependents' in Biblical and Qumranic Hebrew", Journal of Northwest Semitic Languages (2): 25–40, M.P. O'Connor argued, I think successfully, that the cognate biblical word טף that this word translates refers rather to "dependents, young and old" rather than just children. Whether that is ever the case here remains uncertain, in spite of the passage at Numbers 31 that might strain our own sensitivities.