With autocomplete & ajax, two ajax calls are sent.

Fix for the issue #145.

When the autocomplete and ajax plugins are enabled, two ajax calls were sent after the first keyword events. In the second, the query was empty. So the list appeared and then disappeared.