had an error in equality checking moving to using a typesafe ===