fix document fell below zero issue when moving files between working sets