Fixed logical error with return false, preventing submit