Fix multiple pseudo-classes, like a:visited:hover

Hi there...

I've found this really useful, but I recently ran into issues with elements with multiple pseudo-classes, like "a:visited:hover". This fixes that.

Cheers,

Matt