I put [agm_members_map] shortcode in the sidebar

I put [agm_members_map] shortcode in the sidebar of a member's profile and it displays the location of the most recent member, not the member who's profile we are on.