CON-2236 add comment for huge if