This is the line that was actually causing the issue.