Fix uri_parser read_preference validation

uri_parser fails if there is a read_preference option.  This fixes that.