Fixed bug in ValueFrq condition

/cc @noah95