I'm re-reading your comment and think I understand. Could this be solved with a more selective `Version` query to exclude anything not file__status=PENDING? Why are we getting multiple versions back from the query to begin with?