Forms: Remove UPPER() in data partion code since it is not neccessary and it blocks usage of indexes