Fix bug with note limitation.