Get filter query working.