For this kind of data structure, the company id of the manager should only have its value based on his manager not based on each employee under him. For example:
Can you please more specific on the requirement? Can you please explain more about the TreeLevel since your example says that it will only delete rows...