Fix cookie glitch on edit grant page