Good work, Phil24. I don't think you need the !$2 to begin with.
Dean, please don't call that an edit but your approach to going about phil's snippet. He didn't ask for an edit, did he?