Condition added to verify All Photos loaded