Added indexing method to exclude constraint.