Fixes undefined offset 3 php notice.