Fix featured gallery crashing bug - close #36