Fixed indentation to tabs from spaces for consistency
Fixed bug where filtering was not being done correctly