See my previous comment about adding a `renderSelectCheck()` function.