now returning false if trying to get instance from empty collection - close #867