Fix for handling both new and old style histogram PDF parameters.