Fix empty note content bug