Avoid passing empty strings to sympy

XSL transform now removes the box character.