fixed the unmatchable reply filter bug
added the getcondition function tests