is null test on user in repository filter