It should have occurred to me to test this far back, and actually make sure the code in the case statement was even executing.