Fix #595 - remove RMResource children along with parent.
Merge pull request #1170 from rkachowski/bugfix/595

Fix #595 - remove RMResource children along with parent.