admin bugfix for production related to cursor closing and causing occassional 500s. #13