Fix typo in retention code