I solved the problem by myself. The mistake I made, was that I made wrong labeling for the open limits at the lower and upper interval for each discount group I had. Therefore my discounts were matched with multiple intervals.
In detail, the -infinity and +infinity were named with the same appreviations "00". I changed that for +infinity and now it worked out.
Over and out