Handle filter 'input' of 'undefined'