Fix wrong join condition for browse by collection id