Got it, there was another occurrence of the same code further into the script. Removed both of the concatenation operators (one on each line that is) and it works now. Thanks.