Handle UTF-8 problem filter input

Closes rhbz#1086037

Signed-off-by: Jakub Filak <jfilak@redhat.com>