Fixed some bad input flushes.