added back handling for 'neither' comparisons