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