Added functionality that does not iterate through whole queryset for laoding initial value