fixed checkbox wtform validation