s4:dsdb - enhance "get_last_structural_class()" for optimisations