Fixing faulty check in Baium AI which was nicely hidded behind the
overriden getInt