Thank you for reporting the error. It seems some residual code was left from a function I decided not to include. I have corrected it now. I hope it will be useful in your project.