It is rather not about the quota. The passenger got lucky against the journey leg he wanted to book. It may also happen that the berths were not booked earlier till BKP but was booked prior to BKP and the same was forwarded BKP onwards living the in-between leg vacant.