Fixed a complication issue due to incorrect enum comparison.
Fixed a complication issue due to incorrect enum comparison.

Review: https://reviews.apache.org/r/70726

abudnik/mesos,kaysoky/mesos,dforsyth/mesos,Gilbert88/mesos,reneploetz/mesos,reneploetz/mesos,abudnik/mesos,dforsyth/mesos,dforsyth/mesos,Gilbert88/mesos,chhsia0/mesos,kaysoky/mesos,dforsyth/mesos,reneploetz/mesos,abudnik/mesos,reneploetz/mesos,gsantovena/mesos,gsantovena/mesos,reneploetz/mesos,kaysoky/mesos,chhsia0/mesos,dforsyth/mesos,gsantovena/mesos,kaysoky/mesos,chhsia0/mesos,Gilbert88/mesos,reneploetz/mesos,dforsyth/mesos,abudnik/mesos,Gilbert88/mesos,Gilbert88/mesos,Gilbert88/mesos,abudnik/mesos,kaysoky/mesos,gsantovena/mesos,gsantovena/mesos,kaysoky/mesos,reneploetz/mesos,chhsia0/mesos,Gilbert88/mesos,abudnik/mesos,dforsyth/mesos,gsantovena/mesos,chhsia0/mesos,abudnik/mesos,chhsia0/mesos,chhsia0/mesos,gsantovena/mesos,kaysoky/mesos