Added simple decorator to ignore faulty inputs.