Could you extend the UT with a second set of players<->children relationship and assert that its not affected by the removeAll()? With the query wrangling in different places, it's not entirely obvious if the correct filters are still enforced.