Removing this check is not a good idea. This is a defensive approach in order to avoir potential further problems.