AMENDMENT NUMBER 2 TO THIRD AMENDED AND RESTATED LOAN AGREEMENT