[FIX] BaseXClient.runs fails when assertions are enabled. Fixes #735