Notes sidebar bug fix