toLowerCase() on the db value was redundant