Check existence before index