add already typed in characters to sqlite select statements.
add already typed in characters to sqlite select statements.

A typo caused all sqlite select statements not to include the already
typed in prefix in the filter.

Change-Id: I5b4d670f8946e3de1a5bbb90e40280152cfe1e59
Addresses-Issue: Jira/AQUILON-2691
Reviewed-by: Dave Reeve <6a84ee3ae0690d4584b99406fb3076392171f50e@morganstanley.com>

quattor/aquilon,guillaume-philippon/aquilon,guillaume-philippon/aquilon,quattor/aquilon,quattor/aquilon,guillaume-philippon/aquilon