Fixing bug introduced in the last LS commit