Updated validaton to fail as early as possible if actual value is not set