Corrected bug with get_delr_delc