Fix a bug in the mask table when the key was an account key.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>