Ah yes, sorry about that. I started off passing through a much smaller sample of code. Good catch thanks.