Filter by instance id for plots and boundaries

Both plot and boundary tiles require an instance to render the proper
subset of their respective elements. However, the method for generating
the SQL requires two different approaches.

Since we're only using one route we can just switch on the table name.