Fix incorrect file path selecting recent search item.