Fix for #2 added case insensitive check