queries: fix bug in drop action detection

The query function for the controller takes an optional argument to
indicate whether flows with drop actions should contribute to the packet
and byte counts of the query. The previous version had the drop action
detection inverted.