Fixed exception class for index creations.