Fixes #4818 - Allow users to remove views from environments