Check for non-zero value. Fixes #2.