Fixed bug introduced in b078e0b