There was a useless error message for compound indexes.