Over 580,000 beds are under recall because they can break or collapse during use