Array index fixes for occurence data