Fixed #19951 -- Avoid ValueError in admin when passing a string as PK for an inherited model with an integer PK field