Add parseInt so detection works properly.