Added a test case on user page, seems to work on query