Add support for bidirectional limits (dir="real")