Issue #36: icon filter should detect invalid inputs now