Thanks for all the feedback. New patch attached.