What makes it so much worse, is that I've only just realised what I've done wrong after about 10 minutes of trying to work it out. Oh dear.