[PDI-12671] - Switch / Case does not handle null values correctly

add default row set to list of null row sets if the latter is empty + small refactoring