Made sure "qry" and "dqry" empty-returns are not accepted.