Fixing bug with validating reader. Relates to #19.