Fixing enter on query.