Made the if builder for irt smarter to handle an empty else.