Fix bug with cascade removing