Not sure what was breaking with just the "if", but if "else if" works better, I can change it.  (If for some reason you want to trust that cheap nylon crap over your own silk strands?!  ;-) )