Error when importing a table called in CAPITALS from database

Hi there using the latest Cuba studio I ran into an issue when generating the model from a PostgreSQL database. It fails to identify the primary key if the table name is all in CAPITAL LETTERS. I managed to reproduce the error with 9.4,9.5 and 11. It went away when I renamed to include a small letter
I noticed something odd, when importing the tables they were all showing “TableName” but for this one that showed as CAPITAL (no quotes no backslashes no nothing.