Here is my gallery - http://union.pixie.ovcsa.unc.edu/building-maps. It currently contains one item (although for testing and styling, it did include up to 4 items, since deleted).
Click on it to get the lightbox. All good.
Click on the image in the lightbox - end up on the detail page: http://union.pixie.ovcsa.unc.edu/media-gallery/detail/269/353
Notice the "Item 4 of 4" at the top right. It still thinks there are other images in the gallery, even though they have been removed and deleted from the system.
I've cleared cache, made sure all the images are deleted, etc. Any ideas for how to get this to appear correctly?