Improved backend interface and removed repeated loop.
Removed _meta calls by using the haystack 'get_model_ct'.