Some SQL injection fix

Test if no input query will result in 503