Fix #1043 : Indexer indexes protocols/categories with DataSet instead of Protocol id

Fix #1043