Fix empty validation error