Added data validation to Books model [finishes #76360836]