Fix caps timeout bug

Fix another caps timeout bug.  Old code looked at total characters, need
to look at caps.