PDI-11067: fixed exception when partition id list is empty