Fix GET /posts validation