Fixing issue #21 by doing a strtolower on legacy code table inserts