fix issue with filtering on username with custom users