Since the rule of the jam didn't mention about not allowing bug fixes, I would say it is okay to do bug fix.
Even Ludum Dare permits that.
As long you don't add something new things/feature to the game, then it is okay.