Fixed bug introduced in 89bcfe73b705ebc84d7442cec0cff78aa7217e15