added condition to disable reservation of inactive human resources