Fixed a bug in RVM_MATCH