[Bugfix] Added check for missing production when defining action