1541 | Subhas/Faris | Fixed photo ordering after primary photo is changed, enable GC when running in CI environment