Discovered the bug, redesigned the system and as if it was magic now everything just runs. A delightful bit of automation and best of all I fixed it all using Coda on my iPad without even entering my office.