Changed the approach to checking if there are orphan constraint indexes.