Fix completion of bracket-delimited statements