Fix search result link behavior (systemed/iD#1329)