This appears to be a resurgence of #503 / #501, but in a very particular set of circumstances: However, one of the two entries fails the check isinstance(scls ...