Fixed filtering empty input parameters

This change seems to be radical but in fact the new condition differs from the old one because it does not return ``true`` for neither ``'0'`` nor ``0.0`` as the old one did. In all other cases it behaves exactly the same way. This fixes #38