Make sure that the ID of a newly created loan is passed to extensions.