I just had a closer look why Coppermine adds the same keyword several times to the query. As far as I can see they'll be added by $RESTRICTEDWHERE, which itself is generated inside the function get_meta_album_set:
[code=include/functi...
[code=include/functi...