Changing COMPACT to 'NO' seemed to solve my strange indexing problem. Please set it back if it causes problems.