And here I thought I was being original.
Happens to me all the time. I invented a fool-proof voting system and had a patent search done on it. Sure enough, somebody beat me to it!