Fixing rating element, issue with $ids[] and caching.