Fix homework validation