Allow Relation#rewhere to work with infinite range values