Figured the bug was optional argument defaults being handled poorly in Python