Fixed bug in reading extensions from CSR