meta_query fails to compare on values containing apostrophes

WordPress adds slashes to the REQUEST/GET/POST superglobals, if I’m not mistaken. Try this change:

$ajaxCounty = stripslashes( $_POST['varCounty'] );
$ajaxTown = stripslashes( $_POST['varTown'] );

Related Trac ticket.

tech