Fixed #4726 infinite photo stream