Fix behavior on variants without conditions

Hello @dpup, @tessr, 

Please review the following commits I made in branch 'vinny-fix-bug-when-no-condition-operators-are-set'.

399cc34aa1ab4931696f38d8973e1d15ab6d8037 (2014-10-24 11:48:26 -0700)
Fix behavior on variants without conditions

R=@dpup
R=@tessr
While you’re in here, this function doesn’t need to be exported.