An approach to avoiding rank reversal in AHP