Yes, it does, but you have to really lucky and have a lot of queries active to be able to hit the assertion.