Fixed issue where a value of zero would trigger a false boolean condition