Fixed npids check and assignments in dashboard controller