Fix handling of negative numbers.

This was preventing the capture module to create the film roll. The
initial value for the film roll is -1, and in this case the module
was creating a new capture film roll. But this bug was returning
a conf value of -1 as 0.