server: working: fixed the issue where in data was not getting committed after insertion of leads.