Fixes #4209: Prevents removal of all paths from the page when environments are deleted.
Merge pull request #3962 from ehelms/fixes-4209

Fixes #4209: Prevents removal of all paths from the page when environmen...