Gallery, or album listing bug?
Design and Skin Customization
The root cause if this actually has to do with the gallery images being listed form a skin template, and not a profile - when listing from the skin template the profile_id is not used, so the grouping of album names happens by the gallery title name, so if 2 profiles have the exact same gallery name then you'll see an issue.
This is going to require the ability to have multiple group by parameter support in jrCore_list, which is something I'll get into the next release.
Thanks!