Fixed mis-alignment bug in filter functinality and updated the demo.