Fixed select next/prev and get selected.
Added safeSelection option.