more (somewhat minor) but important cleanup for mod_photos so visitors with the correct permissions to add photos can also remove them