Added missing `return` statement

Functions created by `create_min_edit_function()` will now properly return the value from `min_edit()`