fixed continued bugs with compound WHERE conditions (AND handling...)