Fixed the bug where non complete forms still get cleared when data was invalid.