Replace ProfileService.getOverlay(String versionId, String profileId) with getOverlay(Profile profile)
It turns out that all clients had a profile from which they derived the Ids already