Added an error check to help trace users figure out mistakes with mark vs marked