To exclude any other type of virtual fields isinstance GenericForeignKey check was added