Fix wrong indexing analyze option