Revert "OTP's should not be compared as integers"

This reverts commit 7c294b536c4532bee406b1747c57db217bad5fe1.
1.7.1 revert breaking api