Official Rookie Mistake Discussion

God that last trap got me killing myself inside LOL
That being said, am I getting senile or should this work in Sage?

sage: discrete_log(Mod(23, 7 * 13), Mod(4, 7 * 13), ord=6 * 12)
ValueError: No discrete log of 23 found to base 4

whereas the answer should be 5? If you change ord to 6 (its real order) the same occurs.

Had to whip out my own implementation to get this to work.