changed dpt search tops comparison logic