fixed paths when searching against them in categories collection