process-amath: filter cases we don't want.