anchor.diff:  	spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
   
   /obj/item/integrated_circuit/logic/binary/greater_than/do_compare(var/datum/integrated_io/A, var/datum/integrated_io/B)
  -	return A.data > B.data
  +	if(comparable(A, B))
  +		return A.data > B.data
   
   /obj/item/integrated_circuit/logic/binary/greater_than_or_equal
   	name = "greater_than or equal gate"
  
positive.code: 	spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
  
  /obj/item/integrated_circuit/logic/binary/less_than/do_compare(var/datum/integrated_io/A, var/datum/integrated_io/B)
  	return A.data < B.data
  
  /obj/item/integrated_circuit/logic/binary/less_than_or_equal
  	name = "less than or equal gate"
  
negative.code: 	spawn_flags = IC_SPAWN_DEFAULT|IC_SPAWN_RESEARCH
  
  /obj/item/integrated_circuit/logic/binary/less_than_or_equal/do_compare(var/datum/integrated_io/A, var/datum/integrated_io/B)
  	if(comparable(A, B))
  		return A.data <= B.data
  
  /obj/item/integrated_circuit/logic/binary/greater_than
  	name = "greater than gate"
  