Issue3773: code review comments, reset index maximum flag when new project is loaded