Fixed problem pushing entries onto photos array