This is because firstly, they are called autoblocks
Firstly, block a user
Secondly, go to Special:BlockList
Thirdly, press "unblock" near th user name
Fourthly, go back to the user and unblock.
It's not a glitch
Credits to RansomTime from Community Central, it's hard to know how to "fix" them.