[sr-dev] git:3.3: modules_k/presence: Fixed segmentation fault when uploading pres-rules documents