Improved the in_band predicate