Fix issues with displays after studies have been deleted.