Fix pseudo-issue with invalid API logs

Fixes issue #2618