Removed trailing spaces, added semicolons and fixed bug in comment: the vectorlayer was added twice, which resulted in an error when selecting a new plan, so the filter was not updated and the wrong comments (of the previous plan) were retrieved at the next plan