I just used this solution in my code. Very well written post!

Thank you.