Fix missing root accounts when using --flat flag
Bump version number to 4.0.2