Checking refine by type checkbox doesn't select correct checkbox

On the search page, checking a refine by type checkbox doesn't keep it checked correctly. We're first unselecting all checkboxes (in case we're hitting the back button) and then selecting the correct types. Even though it's setting the correct `checked` attribute, the tick is not visible.

This was definitely working at some point, and I can't see any changes on these files since, so my first guess is that jQuery 2.0 is doing something odd here.