Bug fix introduced on commit 19106c02f01c6e2be9aafaeedd224f67d8a2ba39.