Fixed bugged in FakeDatabase