#08.10.2014 fix autonum changing document visibility