Fix blank screen after record deletion