Library not correct in web interface

I use the iOS remote app and I also checked this on the web interface and it shows TV shows that I’ve deleted and don’t show up in the library in the main on screen interface and don’t exist on the hard drive. It this a bug in the web interface or is there something I can do to clean that up as there doesn’t appear to be a way to remove the extraneous programs from there since they don’t show up anywhere inside Kodi but in the web interface.