Bug fix: omni completion hang when the statement contains extract(.. from ..) functions.