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