Prisoners on remand facing lengthy delays until their trial