Photo caption bug fix if multiple captions are edited