db.commit added to Categorizer::_add_secondary_right