A lovely little brain worm. I enjoyed it very much. You’re right, storywise it wouldn’t have made a difference to the episode.
There’s also another problem with leaving it open: what if not only Martha but also Lois would’ve come into the barn? If she had seen the kryptonite the Kents would’ve a lot of explaining to do.