Fixed a legacy call to photos array
0.5.7