This occurs due to "All My Categories" not being an actual security category.  When you add an image to this it causes the system to place in a security category that does not exist.  To prevent this in future uploads select a particular security category when adding an image.  To correct the existing issue contact support and provide the name of the image that is impacted.