Updating mint behavior to be a bit more robust

I'm not satisified with this behavior, but it will have to do.
Bumping to version 0.5.2