Tiny optimization when looking for a prefix in the list.