Good work! Glad you figured it out. Thanks for sharing your solution: it will help others.
--Ed--