Fix indexing problem for oclPreferences