return the correct error when QueryRow finds no rows