Fix bug with homepage event duplication