core: Clean up Version.OpEquality

Proper handling of boolean values in OpEquality.

Change-Id: Ib09be089763a101ff77e2bbf32970af827cd38df
Signed-off-by: Allon Mureinik <amureini@redhat.com>