Fix problem with LASTLOGGERUSER have @domain. closes #2291