fixed OutcomDocStatuses bug. PS works good. Need to add tests.