Bug fix on annotation change deteciton