Fixed bug with brand category endpoint, where root, rule based and other...

... site categories would be returned incorrectly