Detects missing index