Prevented same channel being saved to database multiple times
User Boolean.valueOf(a).compareTo(Boolean.valueOf(b)) instead of Boolean.compare(a, b)