Ooof! A bit longer than I was hoping for but at least it does the job.

Thank you very much!