Fred move_leader_to_keep CA: fix logic error in determining whether leader is on keep

Fixes bug found by skyfaller.