Boolean state vars not parsed when they're stored as int