Correct error messaging when lookup kwarg not supplied