Change error ignore logic

Currently only errors which are atoms can be ignored. Unfortunately some
errors (noproc for instance) are tuples. This change allows these to be
ignored.