Don't trigger completion update twice.

Fixes #206.