Tweak previous - find end of style correctly.