Fix check for number of params in import script.

Authored by mpyne on May 10 2020, 7:08 PM.