Completed function to find trail horse flag in properties (issue #31)