Bugfix doctrine connection selection