Fixed compound index bug by inserting separator.