Modify .rev table query to select across mw revisions