This would seem like an obvious typo with my parameter name, but I cannot spot it. Error message is: Must declare the scalar variable "@SelectedDepartment".