added support for extra queries (needed for shelfmark filtering)
added filter interaction