Switches default values for loan attributes from undefined to null