Yes, that would work. Moved the ids available calculation into the calling method in the latest commit.