afb-api-v3: Fix a bug introduced by 8ca7b69