For those of us who do simply copy & paste code... I did notice a small type error (if you want to call it that).
For example
Should not end with a space at the end of it.
If you are simply coping and pasting, please be sure to remove the little space (think I found 2) at the end of the code.
I'm not sure if I've done a good example of explaining this.
I think Paul M has done a wonderful job at developing this modification.
Tested and working
4.1.2