Add node type condition to user statistics query
Merge pull request #372 from ratajczak/master

Add node type condition to user statistics query