Fix for Bug 26927

Fix for bug 26927 https://www.w3.org/Bugs/Public/show_bug.cgi?id=26927