Adding check for total if item has NO license, also added check to ensure total is NEVER negative.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>