Fixed issue with no photos