Fixed dotted status issue, mongo distinct column issue and left is now left_company, also status chose from company_persons instead of persons table