Improved the rightssystem and fixed a bug in the filterparser