fixed bug with authors_id collection for scripts_history