Added edit state dates detection