Properly deal with integers passed as expression.

Conflicts:
	test/FilterTest.py
When recording a tag, the key and value must be at least one character long.