Fix bug where parameters separated by multiple spaces would result in empty string entries in the params array