fixed alignment of filter terms. Fixed bug with filter