Consider frame's buffer predicate in switch-to-prev-/next-buffer.