Fix broken search triggers, see http://dev.gbif.org/issues/browse/POR-2420