Fixed issue caused by Instance database reference. Introduced whole new problem.