Minor fix for getUserDesignationFromDb