In the comments section of this question user Praetorian has posted a suitable answer, it solved the askers problem and could be useful for anyone else encountering this issue. However the solution was not his idea, quote: "it was LucDanton that figured that out. He should be the one posting an answer". Thus he doesn't want to take the rep.
With no one willing to take credit for answering this question the question continues to sit on the "unanswered" page, despite having an acceptable answer known. This seems... untidy to me, but I'm not sure if there is anything to be done, or anything that needs to be done. Should I flag it and ask a mod to post a community answer but donate the rep to LucDanton? Try to contact LucDanton about it? Or just ignore it as it's an acceptable situation?