Fixes an issue with the MemberTypeReadOnlyFactory