Fix acceptable status code check via NSIndexSet