Fixed bug introduced in 76638506ace76403517f4b2fafbd8064c8d65998