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