Somehow current_prolog_flag/2 got broken for the var,var mode. Fixed.
Authored by: tswift 2017-03-04
Parent: [r8981]
Child: [r8983]