Fix/Simplify artists query if a genre_id and a library_id is defined.