Thanks patel45. Both yours and Solus's fixes work great!