Fix bug #L12

toLower should not be used when dealing with object IDs..