Fixed bug in single parameter specifications to param.sweep().