Fix subtype check in :map