Added some questionable code to prevent issues with open rows. WORTH A TRY RIGHT