Fix error when no deal is selected.
Add account_id to url.
Fix loading bug