anchor.diff:  						if(href_list["status"])
   							var/setcriminal = input(usr, "Specify a new criminal status for this person.", "Security HUD", R.fields["criminal"]) in list("None", "*Arrest*", "Incarcerated", "Parolled", "Discharged", "Cancel")
   							if(R)
  -								if(istype(H.glasses, /obj/item/clothing/glasses/hud/security) || istype(H.glasses, /obj/item/clothing/glasses/hud/security/sunglasses))
  +								if(istype(H.glasses, /obj/item/clothing/glasses/hud/security))
   									if(setcriminal != "Cancel")
   										investigate_log("[src.key] has been set from [R.fields["criminal"]] to [setcriminal] by [usr.name] ([usr.key]).", "records")
   										R.fields["criminal"] = setcriminal
  
positive.code: 
  						if(href_list["view_comment"])
  							if(R)
  								if(H.stat || H.weakened || H.stunned || H.restrained() || !istype(H.glasses, /obj/item/clothing/glasses/hud/security) || !istype(H.glasses, /obj/item/clothing/glasses/hud/security/sunglasses))
  									return
  								usr << "<b>Comments/Log:</b>"
  								var/counter = 1
  
negative.code: 										var/t1 = copytext(sanitize(input("Please input minor crime names:", "Security HUD", "", null)  as text),1,MAX_MESSAGE_LEN)
  										var/t2 = copytext(sanitize(input("Please input minor crime details:", "Security HUD", "", null)  as message),1,MAX_MESSAGE_LEN)
  										if(R)
  											if (!t1 || !t2 || !allowed_access || H.stat || H.weakened || H.stunned || H.restrained() || !istype(H.glasses, /obj/item/clothing/glasses/hud/security))
  												return
  											var/crime = data_core.createCrimeEntry(t1, t2, allowed_access, worldtime2text())
  											data_core.addMinorCrime(R.fields["id"], crime)
  