Fixed mis-alignment bug in filter functinality.