Nonparametric estimation of a distribution with type I bias with applications to competing risks