[#56228024] fix negative number of max deliveries