Pipe search, part search - exception on double click on empty grid

Pipe search, part search - exception on double click on empty grid #748