You're not checking whether or not the indexes exist now.