Fixed a bug in isamd, failed to store a single key when its bits