Fix typo in purge holds function