Fix caching of photosets