Made type conversion implicit

Also switched variables in comparison from lvalue to rvalue