Fixed an issue if custom style was specified and %animenamepart1 was specified but not %animenamepart2. Same issue with %epnamepart1 and %epnamepart2.