Detecting the order of population dynamics from time series: Nonlinearity causes spurious diagnosis