Fixed: #1788454, #2611408
- Added support of Entity Metadata Wrappers - Preventing errors of existing tables in database.