Fix condition to make no-index