Add check for nil params in webhook_valid?