Fix 'Undefined Index' error when getting image caption

If you wouldn't mind Merging please :+1: