fix incorrect ha enabled check.

Change-Id: I874467b434d8b7ca6481a9bdc47873b48e04494f