module wasn't writing correct tag id to ecomma_range table. Tid had to be incremented by one.