Fix crash in collections.provenance when a script_parameter is a Fixnum.