Added another check

Can't just match on 1. Instead, look for "clear=1" then check to see if
other values exist after it.