Fixed error where processSecurity() was throwing an SW_UNKNOWN code.