PR - value comparison not working

Thank you for reaching out @hernandezmachava!

@jaime.bosque , would you have a look? Thanks!

@hernandezmachava would you take a look to make sure you followed these changes correctly?