I’d recommend you generally disregard graduate department rankings for the purpose of evaluating undergraduate programs.