Fix error on mass edit page