Fix empty collection case

Empty collection calls error about wrong params arity (yes, that's sick).