Prevent claims to follower vnodes

If a vnode has recently lost its leadership, the node queue may have IDs that
are no longer relevant.

This adds a check to skip any task that belongs to a vnode where this node
isn't the leader.
Fix boolean logic
Merge pull request #79 from eric/prevent-claims-to-follower-vnodes

Prevent claims to follower vnodes