Yeah, I am busy smacking my forehead off the table as I am typing this (quite a feat, I might add). I would've edited my own post to say I had figured it out if you hadn't already posted the answer. I realised my error about 2 minutes after I had posted. It is now working as intended.

Thanks though