I was having the same issue. Tried removing the machinery key. Did not work. But I also found I was having an issue with the folding car key. It was the only key I wasn't able to sell to vendors. Once I discarded the key everything has been working since. I would try going to vendors to sell and see if a any keys are unable to sell and discard them