I'd go further than that. That line and the next two are one long conditional that together span longer than 120 characters. There has to be a better way of handling this.