DF Added fix for basic production counting.