*sigh* empty('0') evaluates to true even though the string is not empty.