Thanks, Simon! Extension updated with a fix.

PS: neat testcase