### NetBox version v3.2.1 ### Python version 3.8 ### Steps to Reproduce 1. Create a device with module bays, I had 2 module bays with name `ct0` and `ct1` 2. Create a module type with interfaces named `{module}.eth0` 3. Add the new module to a module bay in the device 4. Add a second module to the second module bay ### Expected Behavior 1. The placeholder should be replaced by module name resulting in `ct0.eth0` 2. The second module should be placed and the interface name should result in `ct1.eth0` ### Observed Behavior 1. First module creates an interface named `.eth0` 2. Second module cannot be created. Error: ``` <class 'django.db.utils.IntegrityError'> duplicate key value violates unique constraint "dcim_interface_device_id_name_bffc4ec4_uniq" DETAIL: Key (device_id, name)=(4478, .eth0) already exists. Python version: 3.8.10 NetBox version: 3.2.1 ```