drop dims fix for nestlogit models