Patrick O'Donnell pleaded guilty to two charges at Liverpool Crown Court