Added position validator to ensure clean data