Added back-end behavior to validator which ensures proper automatic status switching based on iterations.