make the getRefererBeforeEdit work with case insensitive