Upgrade failing with LRM-00116: syntax error