meta_query compare “=“ returns nothing when it seems it should

Figured it out from a comment made here.

The fix was to change this:

'value' => $p_specialty,

… to this:

'value' => '"'.$p_specialty.'"',

… and leave the LIKE compare as-is.

Just for more info, I had also tried serializing that value but that didn’t work.