Fixed a bug in which the analyzer would accidentally zero-out the results whenever they were negative.