BUG: Return of _logpmf

This fixes the bug mentioned in #4029
Although I see it was also done above, just referencing the ticket number isn't really a helpful comment.  If you think it needs a comment, something more like "logpmf(0,1,1) shouldn't return nan".  Or anything that describes the edge case the test is guarding would be better.