Fix issue with inq: wrongids