can i get bail if i have a criminal record?