Issue #2344103 by Upchuk: Fixed DBLog sort by user is broken.