Ensuring ident completion works always

A bug turned it off when omni completion was available.

Fixes #583.