Task: #8984. Fixed bags