Fixes #8551 - host recieves correct smart_class_parameter value when multiple overrides in inherited Host Groups exist for parameter

@domcleal when I pushed the test my comments where removed but you answered my question if I should use order or change the sort_by. I'll change this later today.