[sr-dev] fix some bad checks in pua_mi