Check boxes not showing correct settings