Silly logic error, figured it out lying awake in bed :D