fixed toString issue, added isEmpty to the filterclause