Forgot to cover some input filtering

Signed-off-by: DarioI <dario.incalza@litus.cc>