Fix request validation bug