Fixed error where it was crashing due to the first element not actually being a paste.