Fixed project select on note#edit

When editing a note the related project for that note would not be
selected. This often caused the user to change projects related to the
notes if they failed to see the mistake.