Fixed bug in parameter to showFilter function call