Fix 'length' of undefined error for deprecated options