Fixed GetRPForNextRank() and GetRPForPreviousRank()

- If actor wasn't in the factions, the framework was relying on false
results