Bug fix for has_sub_field API function

http://support.advancedcustomfields.com/discussion/5325/options-with-repeater-and-flexible-content-combined-problems
Signed-off-by: Elliot Condon <e@elliotcondon.com>