Add a real fix to the mac os x ctr-r history search bug.