Added indexes to Segment tables