Minor fixes in salary manager. Fixes #1754