Luis,
Thanks for the bug report and debugging. I've added your test to the test cases and I am working out a fix for the second problem
Dave