Fixed problem with RefMaps using _qid when the table has uniqueids