Corrected errors when updating docrels (closes #4240)