Fix inserting before comment bug