k... so that means that with a period it is not running the query correctly. The reason you are getting an error is because its trying to split something that has nothing there.

Now to figure out why...