feature #1664: Fix wrong selection in checkbox at the come back