Compatability with error row in queries