I solved that in a slightly different way. Adding more beds would have only postponed the problem. Now, once the beds are fully upgraded, ants get tired more slowly based on the colony's population to prevent overcrowding in the sleeping area.