Fixing incorrect if check on APP_VALUES[DS_SSL]