Store $laws->config within the export while() loop

Per #495.