Fixed getting subscription See merge request !420 (cherry picked from commit 77d50099) 37ea8854 Fixed recursive getting subscription