Donald McAvoy, 37, was being checked over by a nurse at Glenochil Prison, Clackmannanshire when he launched into a tirade after being told he was going to be subjected to a full-body search.