The Folding of Knotted Proteins: Distinguishing the Distinct Behavior of Shallow and Deep Knots