Fix `flaskext_compat`