Should be self-explanatory.
Created attachment 12129 [details] Suggested patch
Patch submitted, thanks.