BUG: Fix training case check