Simplify kmg.domain/recommendation-ids

As we all know, parentheses are evil. Let's get rid of some of them and make the code more readable!