Fix Sorted Insert for Null Check Head Reference