Fix case sensitivity when querying to database.
Fix location of input completion popup