setup queries for filtering flights