Fixed checking of parser results