ActiveAE: Take care of bounds of logarithm