Oops. Had the if statement switched.