Fixed issue with getOrganizations() method not recognizing domain param