Check for repeated field type should use the occurrence attribute of ProtoMetaAttribs

Problem occurred when trying to use `add_field` for the first time.