Fix accidental wrong comparison. Should be testing appliedsign == 's', not appliedsize == 's'