Update api.php

Additional fix for issue #21 where free company data overlapped when member was not part of a free company.