MDL-43908 mod_assign: Use '$cm->uservisible' to determine visibility

Signed-off-by: Tony Butler <tonyjbutler@gmail.com>