Critical bugfix to the photo management service.