Hey :) thank you! I'm honestly note sure as I did not write the code to handle this problem. I simply asked claude for what I wanted. Seems to work quite well though. Sorry about that.