[issue #18] added null check for the case if cs_ug is empty
Merge branch 'bug/18-getlowestprio-npe-if-table-empty' into dev