no need to .all.count just .count does the thing in home index, also what about redirecting to protein_detection_hypothesis when pdhs.count == 1 in protein detection show?