Removed long type from controller max-age check.