Fixes case of procedure name if it's manually entered.