Bugfix related to reading 16-bit data.