Thanks, I submitted a v2 patch with the corrections you suggested.