For starters, I started studying blender it's been just a couple of weeks.
So, just for fun, I started modeling a key using a torus, a cylinder and a cube, as you can probably figure out by the images below:
It was all fun and games 'till I tried to merge the objects into one using Ctrl+J, weirdly the result was this:
I've tried changing the sequence of selection when I was merging, but it didn't solve the problem. That little thingy still disappeared. I think this error is due to the mirror modifier I used on the last piece of the key, and maybe when I merged it something wasn't compatible.
I also tried adding the same modifier to the other pieces but the result was the same. The last piece in detail can be seen in the link with the screenshots.
If anyone would kindly explain what's going on and hopefully come up with a solution I would be very much appreciated.