Fixed issue with int as key in a GetById(). now it works with generic type param