Fixed crash when variation is a pass