Introduced separate table for recommendations count for more effective sorting
Corrected redirection loop bug due to not urldecoded parameter