BUG: log(exposure) is attached to GLM

Closes #2019