Fix that "categories" is not a valid attribute for DbConnection objects

refs #5482