Improved the yoda condition to use the identical comparison operator