Fixed issues with update_parameters not called before the submission when check=true during running time.
Added the logs from the Historical database into autosubmit debug log.
Fixed some issues with the historical database
Deleted clean_runtime_parameters, as it doesn't work as I expected when updating the db.
When there are no LAST=1 rows, autosubmit will now check LAST=0 rows. This is added in case there are missing rows or a job has not been finished before the autosubmit create. In that case, the row could be incomplete and would prevent the insertion of new jobs.