Registering the document after the ignore check