Fixing automatic saved_by document property bug