fixing join on user revisions