${PREFIX} not correct for database names

Virtualmin Theme version: 6.4
Virtualmin version: 3.63
Operating system: Redhat Linux Fedora 8
I specified the database to be created in my template as ${PREFIX}_cart

For the domain name ez-ms.com, the database name created is ez_ms_com_cart. I expected it to be ez_ms_cart.

Status: 
Closed (fixed)