Add index to transaction collection