Fixed insertion for non-leaves so that no SEGFAULT and list remains sorted