Fixes ability to delete views