Regression introduced by commit 9777442. Thanks to trac username troygrosfield for the report and test case.