Fix issue in insertion binary sort