Population fluctuations affect inference in ecological networks of multi-species interactions