Fixes some exception handling bugs with cov-dr