Fixes #1070 : Edit Forum Settings > Invalid Forum ID selected. 

Minor condition modification.