Fix begin space validator bug #100

This patches fixes a but described Issue #100.

I just tested the behavior is fixed by running command and have not added the tests. The tests for this validator are added in another issue, Issue #107, since the tests need to create Document objects and Issue #107 is for such purpose.