Fix crash on setting an empty tag in TagFilterProxy
Before this commit, if the tag was null, it was handled properly
by the code after the debug line, but the debug line would
try to get the name of the tag, crashing on null ones.
This commit fixes it by adding a check to the debug line.