Fixed bug where low res photo unavailable. Null check performed before
encoding photo to String.