Fix for rare failure in case of no farm members defined

Change-Id: I088569ce8f56ee1a6addee6ed4cf7f51857c2871