Filter Option

Added extra else if so hopefully query works alone as well instead of
just with priority