Fixing case when between might not be all lower case