Fixed a bug in the LBA extensions detection code.