include inverse types in reverse lookup (now Dragon/Flying and Flying/Dragon are considered the same thing, without resorting to frozensets