Postgres range type: Fix handling of exclusive lower bound.

Looks like this has all changed in newer versions of rails, but at least this is correct, and works for my case.