I think minor bug fixing and stuff is allowed after the submission deadline, so long as all of the main work is done and submitted before the deadline. At least most jams are like this, though this one is a bit different from most jams in that you're intentionally sharing unfinished projects, so who knows.
I would say fix the bug and upload a fix as an alternate download, leaving the original submission up alongside it.