Fix problem with calculating total commission