Passing query string which contains an apostrophe [RESOLVED]

You need to use urlencode() instead of esc_attr() for the values you are assigning to the field_values query string.