#660 Added check for existence before assignment to left and right conditions