Added ability to specify whether matching should happen on unmuated sequence or the mutated sequence as it's being generated