Fixes an error encountered when non-admins attempt to visit the modify apps page.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>