Allow filtering

Added two method to select query, allow_filtering! and deny_filtering!