Got dynamic query working. Started on search filter