Fixed issue where admin could not delete or edit orders