Fixed 2 stupid typos breaking the splitArgument function

One was inverting the position of the next quote with the one of the next double quote
The other was checking twice for simple quote instead of also checking for double quote.