Related to this Bug:
Field user.lastpostid gets overridden as well, causing the wrong post being displayed as the last post in profile (at least). Workaround
Add a Plugin with a high execution order on fetch_userinfo_query
Content visible to verified customers only.
In Templates adv_gallery_member_block, adv_gallery_member_stats change all occurances of lastpostid into gallastpostid.