Added support for min and max replication constraints