Improved field type category logic

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