[sr-dev] git:master: pua: check if totag len >0 before comparing it