Fixed bug with parse_types function which would wrongly match 0 in the $restricted array. This was causing problems with the taxonomy field

Signed-off-by: Elliot Condon <e@elliotcondon.com>