I would assume weapons stay equipped when you switch to a different set, rather than swapping them in and out of your inventory whenever you switch. Try hitting the hotkeys now, and see how it behaves; if your current weapons disappear, only to reappear when you switch sets and back again, that is probably what happened before; if they do get put back in the inventory, or something, then an accidental key press wasn't the problem.