Fixed an issue with the binary reader.