Fix disabling of index via options