Good of you to come out and apologise for it (and remove the hidden feature), but this kind of fails the plausible deniability test...
"I mistakenly added a feature that would show our referral links to half a million users in their search results" isn't really believable.