Thanks for posting a followup with your solution (congrats on figuring it out -- sometimes you just need to write the problem down to get the creative juices flowin'). It's very helpful for posterity when people post their solutions.
So frustrating to google/search for a problem only to find a bunch of other people have the same problem, but with no clear solution.