http://assembla.com/spaces/erlide/tickets/1267-searching---filling-in-record-field-into-search-dialog-from-current-selection-goes-wrong