Virtualmin reporting incorrect ram size

After the recent Virtualmin updates the RAM size and usage are now being incorrectly reported.

Virtualmin in the System Information reports:
1024 MB total, 638.57 MB used

Re-Check System Configuration Reports:
Your system has 1024 MB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.

The actual correct RAM as reported by Linux with FREE -M
total used free shared buffers cached
Mem: 2048 2048 0 0 0 0
-/+ buffers/cache: 2048 0

I am using 3.99.gpl GPL on CentOS Linux 6.4

There’s a bug report for that here:

https://www.virtualmin.com/node/27340