[FILTERTAG] is a runtime variable within OWS that renders a fully qualified filter fragment for a query and is necessary for any of the custom filtering options. The [FILTERTAG] should ALWAYS follow or be contained within the WHERE clause as in the simple example below:
Select * from Lists where [FILTERTAG]
Be sure you have pre-defined a Filter and FilterOptions before implementing the [FILTERTAG].