Initial try at filtering 502s, for testing.