Fixed issue with endpoint name for database

Endpoint names with periods were invalid database names