Fixed a bug which caused the cached photo lists to be cleared.