Fixed bug introduced in #5cc5d2