Fix issue with edit programs page error after adding rank to previously saved program