fixing indexing of records when we like an item