Fixed issue with department select