Fix bug causing continuous to always be true.