Fixed logic error with min, max modified seletion sort