Add back disallowable_metadata_prefixes; Check for existance of $this->$rel_meta before proceedin to foreach