* reload.c (find_valid_class): Fix logic to test inner mode as well.