Fixes to marker filtering and pie charts