Fix issue with incorrect parameter parsing

Code was looking for -s instead of -a when dealing with domain
queries. This commit fixes that.