Includes operator and metadata categories are now case insensitive

Quick fix for #282. 
It's for tests. that's how the SQL just comes out.