[FIX] added check for missing readRecord(bamHeader)