Is the intention to blow up if `K` appears multiple times in `Entries`? If not, it would be better to use `lists:keyfind/3` here (it's faster).