Removed DIrectory from CLI, but Error shows in WebUI

I just deleted a dataset/directory from the command line on my TrueNAS server because the WebUI wouldn’t let me delete it since it kept saying it was busy, even though nothing was using that dataset, so I got rid of it on the command line. However, I would think that it would update in the WebUI; however, it doesn’t, instead it gives me this error message telling me that it’s not found. Is there a way I can fix this? I’ve had this happen before, and sometimes even a restart isn’t a guarantee.