Fixed double submit error on successful validation