Fixed error where empty document was parsed