Fixed bug introduced in cf2a86b