I have modified my when clauses to the following:
According to TLD or attribute directive in tag file, attribute
test does not accept any expressions
And now about once every 5 refreshes I get this error
According to TLD or attribute directive in tag file, attribute test does not accept any expressions