You’ve used LIKE
comparison method, that means every similar expression will be matched, including exact string and similar string.
If you want to match exact string, you should use =
operator.
Example:
global $current_user;
$user_roles = $current_user->roles;
$user_role_query = array();
for ($i=0; $i < sizeof($user_roles); $i++) {
$user_role_query[] = array(
'key'=>'attribution_roles',
'value' => $user_roles[$i],
'compare'=>'='
);
}
I suggest read WP_Query page in WordPress codex for details about comparison methods, relation ways, etc.
Hope it works for you 😉