in the case of 1 Samuel 22:18 I think the [ESV] translators got it wrong.
The KJV went the inclusive route.
The Geneva and possibly a lot of other translations got it wrong.
Why?:
Only men,specifically priests or high priests wore lined ephods.The word persons doesn't cut it in this case.
Now, a little food for thought:
I Sam. 2:18-19
But Samuel ministered before the LORD, being a child, girded with a linen ephod. Moreover his mother made him a little coat, and brought it to him from year to year, when she came up with her husband to offer the yearly sacrifice.