Cassette count fixed. Tweaked threshold