Improvements to allow function
Removing double negative from item checked attribute