Remove old references from random gallery