Bug using context against database