You are implementing a closed hash table with linear probing. You need tombstones to mark deleted items, or better, move other items to replace deleted items [1]. Currently your library doesn't have either mechanism.
[1] https://en.wikipedia.org/wiki/Linear_probing#Deletion