Fix a bug in the access to private photos sets