There is no extra line selected at the end of those 3 statements. Its (1) make a extra line at the bottom, select it (causing the bar to scroll to it), delete it
If this does leave some type of residue effect im not aware of, can you please explain it or how it might effect your command.