BUG: Return of _logpmf

This fixes the bug mentioned in #4029