I'm trying to create an "organization" signup form using CiviContribute (as part of the signup they must make a donation). So this CiviContribute form uses a Profile that uses Organization level fields. This form is only accessible to registered users, which means that the current user's CiviCRM contact is probably an Individual. And this code prevents the fields from being added to the form.
There's extra code for this, so it seems intentional. My patch removes the extra code, but I'd presume that there's more to it than this. I apologize if this is a duplicate. I searched through the issue tracker and found several related issues, but I didn't find one quite like this.
Thanks for the great project!