Yes, please reference these through self.linked_problem.due (and similarly for graceperiod)
It's almost equivalent in that they'll both get the set value, if any, from the exact same places, but direct reference will use the local default (if any) and be clearer.