Fixed bug introduced in #f125bc53