Nest this inside the previous if block. (Same comment below).