Added prefix support of idx record to keep them unique.