Fixed EC plate counting
Merge branch 'stable'