[minor] serial no - get last sle

If a Serial No is entered in small letters in a transaction, but Serial Nos' name is in caps, it should be identified in Python, just like it is identified in MySQL