We have had great results with spraying coyote urine around our beds. We're in rural Maine and back up to our neighbor's 30 acres where deer live and breed.
This year I planted castor bean plants which also discouraged deer and other critters from eating taller plants. Castor bean plants are beautiful and easy to grow. Ours grew to about 8'h x 3'w and protected an area about 12'l x 15'w heavily planted with amaranth, sunflowers, zinnia, etc.. Perhaps placing a castor bean plant on either end of the bed would take care of the problem.